﻿using System;
using System.Data;
using System.Data.SqlClient;
using ArtsShop.Common;

namespace ArtsShop.DataLayer.DataAccess
{
    public class OrderDAO : DataServiceBase
    {
         public OrderDAO() : base() { }
        /// <summary>
        ///	Creates a new DataService and specifies a transaction with
        ///	which to operate
        /// </summary>
         public OrderDAO(IDbTransaction txn) : base(txn) { }
         
        public DataSet getMostOrderedItems()
        {
            return ExecuteDataSet("getPopularItems", null);
        }
    }
}
